Skip to content

feat: support license caching#634

Merged
Benoît Cortier (CBenoit) merged 9 commits intomasterfrom
probakowski/license-cache
Jan 18, 2025
Merged

feat: support license caching#634
Benoît Cortier (CBenoit) merged 9 commits intomasterfrom
probakowski/license-cache

Conversation

@probakowski
Copy link
Copy Markdown
Collaborator

This PR adds support for license caching by storing the license obtained from SERVER_UPGRADE_LICENSE message and sending CLIENT_LICENSE_INFO if we have license requested by the server stored.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jan 16, 2025

Coverage Report 🤖 ⚙️

Past:
Total lines: 27418
Covered lines: 17075 (62.28%)

New:
Total lines: 27644
Covered lines: 17065 (61.73%)

Diff: -0.55%

[this comment will be updated automatically]

@awakecoding
Copy link
Copy Markdown
Contributor

👀 thanks for improving licensing support, one of the trickiest areas of RDP

Comment thread crates/ironrdp-client/Cargo.toml
Copy link
Copy Markdown
Member

@CBenoit Benoît Cortier (CBenoit) left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks for working on this!!

Comment thread crates/ironrdp-client/src/config.rs Outdated
Comment thread crates/ironrdp-connector/src/connection.rs Outdated
Comment thread crates/ironrdp-connector/src/lib.rs Outdated
Comment thread crates/ironrdp-client/src/config.rs Outdated
Comment thread crates/ironrdp-connector/src/license_exchange.rs Outdated
Comment thread crates/ironrdp-connector/src/lib.rs Outdated
Comment thread crates/ironrdp-connector/src/lib.rs
Copy link
Copy Markdown
Member

@CBenoit Benoît Cortier (CBenoit) left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I just added a little bit of documentation in the public API. (Although I didn’t write anything extensive, anything interesting you could add will be greatly appreciated.)
Thank you again for moving this forward!

@CBenoit Benoît Cortier (CBenoit) merged commit dd221bf into master Jan 18, 2025
@CBenoit Benoît Cortier (CBenoit) deleted the probakowski/license-cache branch January 18, 2025 14:34
Marc-Andre Lureau (elmarco) added a commit to elmarco/IronRDP that referenced this pull request Jan 28, 2025
This fixes commit dd221bf ("feat: support license caching (Devolutions#634)") and
semver-checks is now happy:

    type ProcessorOutput is no longer UnwindSafe, in /tmp/.tmppi9kAf/IronRDP/crates/ironrdp-session/src/x224/mod.rs:15

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Benoît Cortier (CBenoit) pushed a commit that referenced this pull request Jan 28, 2025
This fixes commit dd221bf ("feat: support license caching (#634)") and
semver-checks is now happy:

type ProcessorOutput is no longer UnwindSafe, in
/tmp/.tmppi9kAf/IronRDP/crates/ironrdp-session/src/x224/mod.rs:15

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Changelog: ignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants